<extend name="Application/Home/View/Layout/application.html" />

<block name="content">
    <!----------标签页------------->
    <div class="bs-example bs-example-tabs col-md-8" data-example-id="togglable-tabs">
        <ul id="myTabs" class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active"><a href="#home" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">全部</a></li>
            <li role="presentation"><a href="#daoshi" role="tab" id="daoshi-tab" data-toggle="tab" aria-controls="profile">导视</a></li>
            <li role="presentation"><a href="#yingping" role="tab" id="yingping-tab" data-toggle="tab" aria-controls="profile">影评</a></li>

        </ul>
        <div id="myTabContent" class="tab-content">
            <div role="tabpanel" class="tab-pane fade in active" id="home" aria-labelledby="home-tab">
                <div class="bs-example" data-example-id="simple-table">
                    <table class="table">
                        <tbody>
                        <volist name="articles" id="a">
                        <tr>
                            <th scope="row"><a href="{{:U('Show/index',array('id'=>$a['id']))}}">{{$a.title}}</a></th>
                        </tr>
                        </volist>
                        </tbody>
                    </table>
                </div>
            </div>
            <div role="tabpanel" class="tab-pane fade" id="daoshi" aria-labelledby="daoshi-tab">
                <table class="table">
                    <tbody>
                        <volist name="daoshi" id="ds">
                            <tr>
                                <th scope="row"><a href="{{:U('Show/index',array('id'=>$ds['id']))}}">{{$ds.title}}</a></th>
                            </tr>
                        </volist>
                    </tbody>
                </table>
            </div>
            <div role="tabpanel" class="tab-pane fade" id="yingping" aria-labelledby="yingping-tab">
                <table class="table">
                    <tbody>
                    <volist name="yingping" id="yp">
                        <tr>
                            <th scope="row"><a href="{{:U('Show/index',array('id'=>$yp['id']))}}">{{$yp.title}}</a></th>
                        </tr>
                    </volist>
                </table>
            </div>

        </div>
        <iframe id="tmp_downloadhelper_iframe" style="display: none;"></iframe>
    </div>
    <!----------标签页结束------------->
    <!-----热门资讯------------>
    <div class="bs-example col-sm-4" data-example-id="simple-table">
        <table class="table">
            <caption>热门资讯</caption>

            <tbody>
            <volist name="hots" id="hot">
                <tr>
                    <th scope="row"><a href="{{:U('Show/index',array('id'=>$hot['id']))}}">{{$hot.title}}</a>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    热度：{{$hot.view}}</th>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
</block>